// import { userRouter } from "./user";
import { systemRouter } from "./system";
import { casRouter } from "./cas";
import { infoRouter } from "./info";
import { comRouter } from "./com";
import { merchantsRouter } from "./merchants";
import { countRouter } from "./count";

export const dashboardRouter = {
  path: "/dashboard",
  name: "dashboard",
  component: () => import("@/layouts/dashboard.vue"),
  redirect: "/dashboard/home",
  meta: {
    title: "仪表盘"
  },
  children: [
    {
      path: "home",
      name: "dashboard_home",
      component: () => import("@/pages/Dashboard/index.vue"),
      meta: {
        title: "仪表盘主页"
      }
    },
    // userRouter,
    systemRouter,
    casRouter,
    infoRouter,
    comRouter,
    merchantsRouter,
    countRouter
  ]
};
